import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'
import './assets/styles/global.scss'
import './assets/styles/border.css'
import './assets/styles/reset.scss'
import './assets/icfont/iconfont.css'

import Card from './components/common/Card.vue'
import axios from 'axios'
Vue.component('m-card', Card)
Vue.config.productionTip = false
Vue.use(VueAwesomeSwiper)
Vue.prototype.$http = axios.create({
 baseURL: process.env.VUE_APP_API_URL || '/web/api' 
})

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
